package com.zhongba01.servicefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 中巴价值投资研习社
 *
 * @author : tangjianhua
 * @date : 2018/7/24.
 */
@Component
@FeignClient(value = "helloworld-service", fallback = HelloWorldServiceFailureImpl.class)
public interface HelloWorldService {

    @GetMapping("/")
    String sayHello();
}
